ResultCode

public enum ResultCode

The result code that is obtained after creating a cast session.

Entries

Link copied to clipboard

The error is unknown.

Link copied to clipboard

The cast session successfully started.

Link copied to clipboard

The cast session has not been created within the specified time.

Link copied to clipboard

The cast session was not found.

Link copied to clipboard

The receiver was not found when starting the cast session.

Link copied to clipboard

The origin of the web content is not allowed to start a cast session.

Link copied to clipboard

The media source provider is not supported.

Link copied to clipboard

The cast session has been canceled, i.e. via the "Cancel" button in the screen picker.

Link copied to clipboard

The cast session can not be created since it already exists.

Link copied to clipboard

An attempt to show the screen picker has failed.

Link copied to clipboard

The cast session has already been terminated.

Link copied to clipboard

The cast request is redundant since the desired cast session is already active.

Link copied to clipboard

The user has declined the cast request.

Link copied to clipboard

Failed to launch session as the notifications are disabled on the receiver device.

Functions

Link copied to clipboard
public static ResultCode valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<ResultCode> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.